<?php
header("content-type:text/html;charset=utf-8");
include_once("classes/depart/depart.class.php");
$depart = new depart();
$res = $depart->delete_depart($_GET['did']);
if($res)
{
    echo '<script>alert("删除成功");location.href="department.php";</script>';
}
else
{
    echo '<script>alert("删除失败");location.href="department.php";</script>';
}









?>